package com.tql.kingdee.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 物料价格表
 * @TableName tql_stap_price
 */

public class TqlStapPriceBean {
    /**
     * id
     */
    private Integer id;

    /**
     * 物料id
     */
    private String stapId;

    /**
     * 物料编码
     */
    private String stapCode;

    /**
     * 物料名称
     */
    private String stapName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 价格取值方式;1 最近采购价 2 权重取值价 3 设置价格
     */
    private String flag;

    /**
     * 租户号
     */
    private String tenantId;

    /**
     * 乐观锁
     */
    private String revision;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private String updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;


    /**
     * 初始价格
     */
    private BigDecimal initPrice;

    /**
     * 权重价格
     */
    private BigDecimal weightedPrice;

    /**
     * 最新价格
     */
    private BigDecimal lastPrice;
    /**
     * 最新数量
     */
    private BigDecimal lastNum;



    /**
     * 最新价格
     */
    private BigDecimal oldPrice;
    /**
     * 最新数量
     */
    private BigDecimal oldNum;









    private String priceUnit;
    /**
     * 更新人
     */
    private String deptCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStapId() {
        return stapId;
    }

    public void setStapId(String stapId) {
        this.stapId = stapId;
    }

    public String getStapCode() {
        return stapCode;
    }

    public void setStapCode(String stapCode) {
        this.stapCode = stapCode;
    }

    public String getStapName() {
        return stapName;
    }

    public void setStapName(String stapName) {
        this.stapName = stapName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getRevision() {
        return revision;
    }

    public void setRevision(String revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public BigDecimal getInitPrice() {
        return initPrice;
    }

    public void setInitPrice(BigDecimal initPrice) {
        this.initPrice = initPrice;
    }

    public BigDecimal getWeightedPrice() {
        return weightedPrice;
    }

    public void setWeightedPrice(BigDecimal weightedPrice) {
        this.weightedPrice = weightedPrice;
    }

    public BigDecimal getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(BigDecimal lastPrice) {
        this.lastPrice = lastPrice;
    }

    public BigDecimal getLastNum() {
        return lastNum;
    }

    public void setLastNum(BigDecimal lastNum) {
        this.lastNum = lastNum;
    }

    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    public BigDecimal getOldNum() {
        return oldNum;
    }

    public void setOldNum(BigDecimal oldNum) {
        this.oldNum = oldNum;
    }

    public String getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(String priceUnit) {
        this.priceUnit = priceUnit;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }
}